solving the money problem